<template>
  <div class="index">
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
  <van-swipe-item>1</van-swipe-item>
  <van-swipe-item>2</van-swipe-item>
  <van-swipe-item>3</van-swipe-item>
  <van-swipe-item>4</van-swipe-item>
</van-swipe>
  </div>
</template>
<script>
import { Toast,Swipe, SwipeItem} from "vant";
import { PositionContent } from "@/api/apiData";

export default {
  components: {
    [Toast.name]: Toast,
    [Swipe.name]: Swipe,
    [SwipeItem.name]: SwipeItem
  },
  data() {
    return {
     
    };
  },
  mounted() {
   
  },
  methods: {
  
  },
};
</script>
<style lang="less" scoped>
 .my-swipe{
   .van-swipe-item {
    color: #fff;
    font-size: 20px;
    line-height: 150px;
    text-align: center;
    background-color: #39a9ed;
  }
 }
</style>